import request from "@/utlis/request";

enum API {
  STOCK_URL = "/GetStock", //查询股票信息
}

export const reqStockList = async (
  type: string,
  stock: String,
  page: number,
  pageSize: number,
) => {
  return request.get<any, any>(
    API.STOCK_URL +
      "?type=" +
      type +
      "&stock=" +
      stock +
      "&page=" +
      page +
      "&pageSize=" +
      pageSize,
  );
};
